﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleData.ObjectModel.Design
{
	/// <summary>
	/// Regra do tipo de um campo
	/// </summary>
	public class FieldTypeRule : Rule
	{
		protected FieldTypeRule()
			: base( new RuleName( "type" ) )
		{ }

		public FieldTypeRule( FieldTypeName name )
			: base( new RuleName( name.Name, name.Namespace ) )
		{
			this.Type = RuleKind.FieldType;
		}

	}
}
